package com.module.admin.rest.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.module.admin.rest.pojo.RestInfo;

/**
 * rest_info的Dao
 * @author yuejing
 * @date 2016-12-23 16:43:04
 * @version V1.0.0
 */
public interface RestInfoDao {

	public abstract void save(RestInfo restInfo);

	public abstract void update(RestInfo restInfo);

	public abstract void delete(@Param("riId")Integer riId);

	public abstract RestInfo get(@Param("riId")Integer riId);

	public abstract List<RestInfo> findRestInfo(RestInfo restInfo);
	
	public abstract int findRestInfoCount(RestInfo restInfo);

	public abstract RestInfo getByRsIdUrl(@Param("rsId")Integer rsId, @Param("url")String url);

	public abstract List<RestInfo> findAll();
}
